Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Introduction to Sprite Animation and the Sprite Toolbox

This section introduces you to the fundamentals of sprite animation and the sprite toolbox. Sprites were new to QuickTime 2.5 and have since been enhanced in QuickTime 3 and further enhanced in QuickTime 4.

This section also discusses the ways in which sprite animation differs from traditional video animation. The metaphor of a sprite animation as a theatrical play is used, in which sprite tracks are characterized as the boundaries of the stage and a sprite world as the stage itself. To extend the metaphor, you may want to think of sprites as actors performing on that stage.

Each sprite has properties that describe its location and appearance at a given time. During an animation sequence, the application modifies the sprite's properties to cause it to change its appearance and move around the screen. Sprites may be mixed with still-image graphics to produce a wide variety of effects while using relatively little memory.

You use the sprite toolbox to add sprite-based animation to your application. The sprite toolbox, which is a set of data types and functions, handles all the tasks necessary to compose and modify sprites, their backgrounds and properties, in addition to transferring the results to the screen or to an alternate destination.

Sprites and the Sprite Toolbox

Sprite World Characteristics

Sprite Tracks

Sprite Animation

Sprite Spatial Concepts

Sprite Properties


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |